package com.ruoyi.report.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报告列表对象 sys_report_details
 *
 * @author ruoyi
 * @date 2024-06-28
 */
public class SysReportDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单主键id */
    @Excel(name = "订单主键id")
    private Long orderId;

    /** 批量订单id */
    @Excel(name = "批量订单id")
    private Long parentId;

    /** 对应调查项目id */
    @Excel(name = "对应调查项目id")
    private Long surveyId;

    /** 对应调查项目名称 */
    @Excel(name = "对应调查项目名称")
    private String surveyName;

    /** 调查状态 0未开始 1调查中  2已完成  3异常 */
    @Excel(name = "调查状态 0未开始 1调查中  2已完成  3异常")
    private Long surveyStatus;

    /** 订单结果 1待出具2无风险3低风险4中风险5高风险 */
    @Excel(name = "订单结果 1待出具2无风险3低风险4中风险5高风险")
    private Long surveyResult;

    /** 报告路径 */
    @Excel(name = "报告路径")
    private String reportUrl;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    private Long reportId;


    //风险评估的类型 风险评估类型： 0个人身份信息风险/1社会安全信息风险的不良信息/2吸毒
    // /3 被执行人/4失信 /5限高 /6 税务不良 /7网贷逾期
    // /8信贷逾期记录 /9 商业利益冲突/10 法院诉讼
    // /11学历风险 /12学位风险
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setSurveyId(Long surveyId)
    {
        this.surveyId = surveyId;
    }

    public Long getSurveyId()
    {
        return surveyId;
    }
    public void setSurveyName(String surveyName)
    {
        this.surveyName = surveyName;
    }

    public String getSurveyName()
    {
        return surveyName;
    }
    public void setSurveyStatus(Long surveyStatus)
    {
        this.surveyStatus = surveyStatus;
    }

    public Long getSurveyStatus()
    {
        return surveyStatus;
    }
    public void setSurveyResult(Long surveyResult)
    {
        this.surveyResult = surveyResult;
    }

    public Long getSurveyResult()
    {
        return surveyResult;
    }
    public void setReportUrl(String reportUrl)
    {
        this.reportUrl = reportUrl;
    }

    public String getReportUrl()
    {
        return reportUrl;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("parentId", getParentId())
            .append("surveyId", getSurveyId())
            .append("surveyName", getSurveyName())
            .append("surveyStatus", getSurveyStatus())
            .append("surveyResult", getSurveyResult())
            .append("reportUrl", getReportUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
